package com.wy.Service;

import com.wy.pojo.Company;
import com.wy.vo.CompanyDto;
import com.wy.vo.PageVo;

import java.util.List;

public interface CompanyService {
    public List<Company> findAll();

    public void add(Company company);

    public void delete(Integer id);

    public List<Company> findBId(Integer id);

    public void update(Company company);

    //分页
    public PageVo searchPage(Integer current, Integer pageSize, CompanyDto dto);
}
